package business.impl;

import java.util.List;

import model.VWanted;
import model.dictionaryInfo;
import business.basic.iHibBaseDAO;
import business.dao.DictionaryDao;

public class DictionaryDaoImpl implements DictionaryDao {
	
	iHibBaseDAO bdao = null;
	public void setBdao (iHibBaseDAO bdao){
		this.bdao=bdao;
		
	}

	@Override
	public List<dictionaryInfo> getDiname(String type) {
		String sql = " from dictionaryInfo where dictionaryType =   ? ";
		Object[] para = {type};
		List<dictionaryInfo> modl =  bdao.select(sql,para);
		return modl;
	}

}
